<template>
    <div class="login-container">
        <div class="login-Form">
            <p class="title-text">Wallet</p>
            <p class="title">登录</p>
            <div class="login-Form-Item">
                <div class="login-Form-Item-Input">
                    <img src="@/assets/phone.png" class="icon" alt="">
                    <input type="text" placeholder="请输入手机号">
                </div>
            </div>
            <div class="login-Form-Item">
                <div class="login-Form-Item-Input">
                    <img src="@/assets/password.png" class="icon" alt="">
                    <input type="password" placeholder="请输入密码">
                    <p class="textbtn">获取验证码</p>
                </div>
            </div>
            <div class="form-btn-container">
                登录
            </div>
        </div>
    </div>
</template>

<script>

export default {
    created() {
        document.title = "登录"
    }

}
</script>

<style lang="less">
.login-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background: rgba(36, 35, 38, 1);
    
    .login-Form{
        background: #fff;
        position: relative;
        border-radius: 12px;
        width: 75%;
        padding:20px 30px;
        .title-text{
            position: absolute;
            top: -130px;
            left: 0;
            text-align: center;
            width: 100%;
            color: #fff;
            font-size: 35px;
            margin-bottom: 20px;
        }
        .title{
            text-align: center;
            font-size: 18px;
            margin-bottom: 20px;
        }
        .login-Form-Item{
            margin-bottom: 15px;
            height: 30px;
            .login-Form-Item-Input{
                height: 100%;
                display: flex;
                align-items: center;
                padding: 0 10px;
                border: 1px solid #ccc;
                border-radius: 6px;
                input{
                    height: 100%;
                    flex: 1;
                    outline-style: none;
                    font-size: 10px;
                    min-width: 0;
                    color: rgba(36, 35, 38, 1);
                    &::placeholder{
                        color: #ccc;
                    }
                }
                .icon{
                    width: 15px;
                    height: 15px;
                    flex: 0 auto;
                    margin-right: 5px;
                }
                .textbtn{
                    margin-left: 10px;
                    width: 60px;
                    flex: 0 0 auto;
                    font-size: 12px;
                    color: rgba(254, 205, 103, 1);
                }
            }
        }
        .form-btn-container{
            width: 100%;
            background: rgba(254, 205, 103, 1);
            border-radius: 6px;
            font-size: 16px;
            height: 30px;
            margin: 30px 0 10px 0;
            line-height: 30px;
            text-align: center;
            color: rgba(36, 35, 38, 1);
        }
    }
}

</style>